<!DOCTYPE html>
<head>
<meta charset="utf-8" />
<title>创建届别</title>
<script>
	var application = '${application}';
</script>
<link href="${application}/resource/media/css/bootstrap.min.css"
	rel="stylesheet" type="text/css" />
<link
	href="${application}/resource/media/css/bootstrap-responsive.min.css"
	rel="stylesheet" type="text/css" />
<link href="${application}/resource/media/css/font-awesome.min.css"
	rel="stylesheet" type="text/css" />
<link href="${application}/resource/media/css/style-metro.css"
	rel="stylesheet" type="text/css" />
<link href="${application}/resource/media/css/style.css"
	rel="stylesheet" type="text/css" />
<link href="${application}/resource/media/css/style-responsive.css"
	rel="stylesheet" type="text/css" />
<link href="${application}/resource/media/css/default.css"
	rel="stylesheet" type="text/css" id="style_color" />
<link rel="stylesheet" type="text/css"
	href="${application}/resource/media/css/select2_metro.css" />

<script src="${application}/resource/media/js/jquery-1.10.1.min.js"
	type="text/javascript"></script>
<script
	src="${application}/resource/media/js/jquery-migrate-1.2.1.min.js"
	type="text/javascript"></script>
<script
	src="${application}/resource/media/js/jquery-ui-1.10.1.custom.min.js"
	type="text/javascript"></script>
<script src="${application}/resource/media/js/bootstrap.min.js"
	type="text/javascript"></script>
<script type="text/javascript"
	src="${application}/resource/media/js/select2.min.js"></script>
<script type="text/javascript" src="${application}/resource/media/js/date.js"></script>
<!--[if lt IE 9]>
	<script src="media/js/excanvas.min.js"></script>
	<script src="media/js/respond.min.js"></script>  
	<![endif]-->
<script src="${application}/resource/media/js/app.js"></script>
<script type="text/javascript"
	src="${application}/resource/jquery/jquery.form.js"></script>
<style type="text/css">
body {
	background: #fff !important;
}
</style>
<script>
	jQuery(document).ready(function() {
		App.init();
		$('#select2_sample1').select2({
			placeholder : "Select an option",
			allowClear : true
		});

		$('#select2_sample2').select2({
			placeholder : "Select a State",
			allowClear : true
		});
	});
	function onSave(){
		$("#form").ajaxSubmit(function(data) {
			if (data.match(/^[0-9].*$/)) {
				alert("成功保存分析表表样");
			} else {
				alert(data);
			}
		});
	}
</script>
</head>
<body class="page-header-fixed">
<div class="">
	<div class="row-fluid">
		<div class="span12">
			<ul class="breadcrumb">
				<li><i class="icon-home"></i> <a href="index.jsp">首页</a> <i
					class="icon-angle-right"></i>
				</li>
				<li><a href="javascript:;">基础服务</a> <i class="icon-angle-right"></i>
				</li>
				<li><a href="javascript:;">素材管理</a></li>
			</ul>
		</div>
	</div>
	<div class="row-fluid">
		<div class="portlet-body form" style="padding-top: 10px;">
			<form action="addJB!doExecute.action" id="form" method="post" class="form-horizontal">
				<div class="control-group">
					<label class="control-label">届别代码</label>
					<div class="controls">
						<input type="text" class="m-wrap" size="40" name="jb"/> 
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">届别名称</label>
					<div class="controls">
						<input type="text" class="m-wrap"  size="40" name="circle.jbmc"/> 
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">Basic</label>
					<div class="controls">
						<select id="select2_sample1" class="span6 select2">
							<option value=""></option>
							<option value="AL">Alabama</option>
							<option value="WY">Wyoming</option>
						</select>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">Multi-Value Select</label>
					<div class="controls">
						<select id="select2_sample2" class="span6 select2" multiple>
							<option value=""></option>
							<optgroup label="AFC WEST">
								<option>Denver Broncos</option>
								<option>Kansas City Chiefs</option>
								<option>Oakland Raiders</option>
								<option>San Diego Chargers</option>
							</optgroup>
						</select>
					</div>
				</div>
				<div class="form-actions">
					<button class="btn blue" type="button" onclick='onSave()'>Submit</button>
					<button class="btn" type="button">Cancel</button>
				</div>
			</form>
		</div>
	</div></div>
</body>
</html>